package com.zb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.entity.ZjWorkSlaCondition;
import com.zb.extend.WorkSlaConditionExtend;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 工单SLA触发条件表 Mapper 接口
 * </p>
 *
 * @author WEN
 * @since 2024-02-04
 */
@Repository
public interface ZjWorkSlaConditionMapper extends BaseMapper<ZjWorkSlaCondition> {

    /**
     * 根据工单模块ID获取工单策略SLA
     * @param moduleIds 工单模块ID
     * @return
     */
    List<WorkSlaConditionExtend> getByModuleIds(@Param("moduleIds") List<Long> moduleIds);

}
